/* 
%include "/projects/hsieh_project/code_0_general/m_gen_l_year.sas" /source2;
*/


%macro gen_l_year(year_first= , year_step= , year_last= );
  %Let ll_year = &year_first;
  %Local i_year;
  %Let i_year = %eval(&year_first + &year_step);
  %do %while(%eval(&i_year)<%eval(&year_last));
    %Let ll_year = &ll_year,&i_year;
    %Let i_year = %eval(&i_year + &year_step);
  %end;
  %Global l_year;
  %Let l_year = &ll_year,&year_last;
  %put %quote(The list of years is as follows:);
  %put &l_year;
%mend;


/* End of SAS file */
